import request from '@/utils/request'

export default {
  getviruslist() {
    return request({
      url: `/admin/virus/find/`,
      method: 'get',
    })
  },
  deleteInfo(id){
    return request({
      url: `/admin/virus/remove/${id}`,
      method: 'delete'
    })
  },
  showVirusByid(id){
    return request({
      url: `/admin/virus/findById/${id}`,
      method: 'get'
    })
  },
  save(virus){
    return request({
      url: `/admin/virus/save`,
      method: 'post',
      data: virus
    })
  },

}
